package com.letoken.platform.repo.app.res.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.letoken.platform.repo.mall.po.AppBalanceWallet;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @version 1.0
 * @author： Christopher
 * @date： 2022/1/8 16:34
 */
@Data
public class AppBalanceRes implements Serializable {

    @JsonIgnore
    private Integer id;

    @ApiModelProperty(value = "币种id")
    private Integer tokenId;

    @ApiModelProperty(value = "可用余额")
    private BigDecimal balance = BigDecimal.ZERO;

    @ApiModelProperty(value = "收益")
    private BigDecimal income = BigDecimal.ZERO;

    // 昨日收益
    private BigDecimal yesterdayIncome = BigDecimal.ZERO;
    // 月话收益率
    private BigDecimal rate;
    private BigDecimal letBalance = BigDecimal.ZERO;

    // 是不是新记录
    @JsonIgnore
    private Boolean isNew = false;
    @JsonIgnore
    private Integer userId ;


}
